package com.design.pattern.observe;

public class BinaryObserver implements Observer {
    @Override
    public void update(Subject subject) {
        System.out.println("BinaryObserver: State is " + subject.getState());
    }
}